﻿using System;
using KLS.PPDS.Data.Database.Repository.RepositoryInterfaces;


namespace KLS.PPDS.Data.Database.Repository
{
    public class RepositoryFactory<T> : IRepositoryFactory<T>
    {
        public T GetRepository()
        {
            Type ot = typeof(T);
            Type[] ots = { };
            var info = ot.GetConstructor(ots);
            return (T)info.Invoke(ots);
        }
    }
}
